package com.zmj.framework.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zmj.framework.bean.Member;
import com.zmj.framework.dao.MemberDao;
import com.zmj.framework.service.MemberManager;
import com.zmj.framework.util.PageController;
@Service("memberManager")
public class MemberManagerImpl implements MemberManager {
	@Autowired
    private MemberDao memberDao;

	public List getMemberList(Member member, PageController controller) {
		return this.memberDao.getMemberList(member, controller);
	}

	public int saveMember(Member member) {
		return this.memberDao.saveMember(member);
	}
	
	public int updateMember(Member member) {
		return this.memberDao.updateMember(member);
	}

	public int removeMember(String id) {
		return this.memberDao.removeMember(id);
	}

	public Member getMember(String id) {
		return this.memberDao.getMember(id);
	}
	

}
